# #################################################################
# Melomaniac project file.
# #################################################################
TEMPLATE = app
TARGET = melomaniac
QT += opengl
CONFIG -= rtti \
    exceptions
CONFIG(debug, debug|release) { 
    DESTDIR = bin/debug/melomaniac
    OBJECTS_DIR = bin/debug/melomaniac/obj
    MOC_DIR = bin/debug/melomaniac/moc
    RCC_DIR = bin/debug/melomaniac/rcc
    UI_DIR = bin/debug/melomaniac/ui
}
else { 
    DESTDIR = bin/release/melomaniac
    OBJECTS_DIR = bin/release/melomaniac/obj
    MOC_DIR = bin/release/melomaniac/moc
    RCC_DIR = bin/release/melomaniac/rcc
    UI_DIR = bin/release/melomaniac/ui
}

INCLUDEPATH += ./src \
    ./src/common \
    ./lib/fmoddesignerapi/inc \
    ./lib/fmodexapi/inc

LIBS += -L$$PWD/lib/fmodexapi/ -lfmodex \
    -L$$PWD/lib/fmoddesignerapi/lib/ -lfmod_event

OTHER_FILES += model/map/navmap.obj \
    model/map/map.obj \
    model/ufo/UFO.obj \
    model/ufo/UFO.mtl \
    model/ufo/Top1.jpg \
    model/ufo/Bottom1.jpg \
    model/cube/skybox.png \
    model/cube/cube.obj \
    model/cube/cube.mtl \
    model/map/map.mtl \
    model/cow/cow_512.jpg \
    model/cow/cow.obj \
    model/cow/cow.mtl \
    fonts/Wortellina.ttf \
    image/button/unselected_normal.png \
    image/button/unselected_hardcore.png \
    image/button/unselected_easy.png \
    image/button/selected_normal.png \
    image/button/selected_hardcore.png \
    image/button/selected_easy.png \
    image/button/normal_start.png \
    image/button/normal_ok.png \
    image/board/hud.png \
    image/board/board.png \
    image/text/title.png \
    image/text/difficulty.png \
    sound/melomaniac.txt \
    sound/melomaniac.lst \
    sound/melomaniac.fsb \
    sound/melomaniac.fev

RESOURCES += resource.qrc

HEADERS += \
    src/ai/path.h \
    src/ai/navel.h \
    src/ai/map.h \
    src/ai/flock.h \
    src/ai/astar.h \
    src/ai/agent.h \
    src/core/game.h \
    src/core/engine.h \
    src/entity/entity.h \
    src/geometry/sphere.h \
    src/geometry/quadtree.h \
    src/geometry/edge3d.h \
    src/global/typedef.h \
    src/object/paintable.h \
    src/object/object.h \
    src/object/material.h \
    src/object/face.h \
    src/object/bindable.h \
    src/ui/ui.h \
    src/ui/lobby.h \
    src/ui/hud.h \
    src/ui/home.h \
    src/ui/button.h \
    src/core/view.h \
    src/core/scene.h \
    src/entity/cow.h \
    src/entity/ufo.h \
    src/ui/score.h

SOURCES += \
    src/ai/path.cpp \
    src/ai/navel.cpp \
    src/ai/map.cpp \
    src/ai/flock.cpp \
    src/ai/astar.cpp \
    src/ai/agent.cpp \
    src/core/main.cpp \
    src/core/game.cpp \
    src/core/engine.cpp \
    src/entity/entity.cpp \
    src/geometry/sphere.cpp \
    src/geometry/edge3d.cpp \
    src/object/object.cpp \
    src/object/material.cpp \
    src/object/face.cpp \
    src/object/bindable.cpp \
    src/ui/ui.cpp \
    src/ui/lobby.cpp \
    src/ui/hud.cpp \
    src/ui/home.cpp \
    src/ui/button.cpp \
    src/core/view.cpp \
    src/core/scene.cpp \
    src/entity/cow.cpp \
    src/entity/ufo.cpp \
    src/ui/score.cpp
